package edu.sctu.practice.class02.xuejiahua.practise.test03;

/**
 * Created by Dom_xuejiahua on 2015/12/9.
 */
public class Manager extends Employee{
    Manager(String name, String sex) {
        super(name, sex);

    }

    double dividend;
    void setDividend(double dividend) {
        this.dividend = dividend;
    }

    double getDividend() {
        return dividend;
    }

    double getInCome() {
        return wage + bonus + dividend;
    }

}
